.. _`Stratified K-fold cross validation`: .. _`org.sysess.sympathy.machinelearning.crossval_stratifiedkfold`: Stratified K-fold cross validation `````````````````````````````````` .. image:: Kfold.svg :width: 48 Gives splits for stratified K-fold cross validation Definition :::::::::: Input ports ........... **X** table X **Y** table Y Output ports ............ **out** [(table, table)] out Configuration ............. **Number of splits** (n_splits) Number of folds, must be atleast 2 **Shuffle** (shuffle) Shuffle the data before splitting Implementation .............. .. automodule:: node_crossvalidation :noindex: .. class:: CrossVal_StratifiedKFold :noindex: